{
  "type" : "object",
  "required": [
    "id",
    "created_at",
    "project_id",
    "group_id",
    "format",
    "status",
    "started_at",
    "finished_at",
    "_links"
  ],
  "properties" : {
    "id": { "type": "integer" },
    "created_at": { "type": "string", "format": "date-time" },
    "project_id": { "type": ["integer", "null"] },
    "group_id": { "type": ["integer", "null"] },
    "format": {
      "type": "string",
      "enum": ["csv"]
    },
    "status": {
      "type": "string",
      "enum": ["created", "running", "finished", "failed"]
    },
    "started_at": { "type": ["string", "null"] },
    "finished_at": { "type": ["string", "null"] },
    "_links": {
      "type": "object",
      "required": ["self", "download"],
      "properties": {
        "self": { "type": "string" },
        "download": { "type": "string" }
      },
      "additionalProperties": false
    }
  },
  "additional_properties" : false
}
